package com.mit.common.design.dto;

import com.mit.common.dto.AbstractDTO;

public class StyleColorDTO extends AbstractDTO {

	private int styleId;
	private int colorId;
	public int getStyleId() {
		return styleId;
	}
	public void setStyleId(int styleId) {
		this.styleId = styleId;
	}
	public int getColorId() {
		return colorId;
	}
	public void setColorId(int colorId) {
		this.colorId = colorId;
	}
	
	@Override
	public boolean equals(Object obj) {
		if(obj == null)
			return false;
		if(! (obj instanceof StyleColorDTO))
			return false;
		return ( ((StyleColorDTO)obj).styleId == styleId )
				&& (((StyleColorDTO)obj).colorId == colorId);
	}	
}
